Kanzi 4.0.0-beta2
kanzi::gfx::SetViewportCommand Struct Reference

Sets the viewport coordinates. More...

#include <kanzi/gfx/commands.hpp>

Inheritance diagram for kanzi::gfx::SetViewportCommand:
[legend]

Public Member Functions

 SetViewportCommand ()
 Constructor.
 
- Public Member Functions inherited from kanzi::gfx::BaseCommand
uint32_t getSize () const
 Gets the command size in bytes.
 
uint8_t getTag () const
 Gets the command tag.
 
CommandType getType () const
 Gets the command type.
 
void setTag (uint8_t tag)
 Sets the command tag.
 

Public Attributes

rects32 viewport
 Viewport rectangle.
 

Additional Inherited Members

- Protected Member Functions inherited from kanzi::gfx::BaseCommand
 BaseCommand (CommandType t, uint32_t s)
 Constructor.
 
 BaseCommand (const BaseCommand &other)
 Copy Constructor.
 
BaseCommandoperator= (const BaseCommand &other)
 Assignment operator.
 

Detailed Description

Sets the viewport coordinates.

The viewport coordinates are set also by a BeginRenderPassCommand.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ SetViewportCommand()

kanzi::gfx::SetViewportCommand::SetViewportCommand ( )
inlineexplicit

Constructor.

Member Data Documentation

◆ viewport

rects32 kanzi::gfx::SetViewportCommand::viewport

Viewport rectangle.


The documentation for this struct was generated from the following file: